<template>
  <div id="app">
      <router-view />
  </div>
</template>

<script>
import Vue from "vue";
// 隐藏头部
import { hideWebViewTitle, hideOptionMenu } from "@/core/mxApi/index";
// import { mapActions } from 'vuex'
export default {
  created() {
    hideOptionMenu();
    // this.getUserRoleList()
  },
  components: {
    // globalLoading
  },
  methods: {
    // ...mapActions({
    //   getUserRoleList: 'role/getUserRoleList'
    // })
  },
};
</script>

<style lang="scss">
html,
body {
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // color: #2c3e50;
  height: 100%;
  background: #fff;
}
</style>
